package test.it.concept.pin.pojo;

import it.concept.pin.annotations.Pin;
import it.concept.pin.annotations.Transport;

@Pin( javaInterfaceName="test.it.concept.pin.model.Identity" )
public class IdentityPojo {

	/**
	 * Set by member annotation
	 */
	@Transport
	private String name;
	private LocationPojo location;
	
	/******* SETTER METHODS *******/
	
	public void setName( String name ) {
		
		this.name = name;
		
	}
	
	/**
	 * Set by method annotation
	 */
	@Transport
	public void setLocation( LocationPojo location ) {
	
		this.location = location;
	
	}

	/******* GETTER METHODS *******/
	
	public String getName() {
	
		return name;
	
	}

	public LocationPojo getLocation() {
	
		return location;
	
	}
	
}
